page {
  background: #f7f7f7;
}

.main {
  padding: 20upx;
}
.contentBox {
}
image {
  width: 100%;
  height: 100%;
}
.bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  padding-bottom: constant(safe-area-inset-bottom); /*兼容 IOS<11.2*/
  padding-bottom: env(safe-area-inset-bottom); /*兼容 IOS>11.2*/
  background: #fff;
  // height: 108upx;
  padding: 16upx 24upx 22upx;
  display: flex;
  align-items: center;
  .customBtn {
    width: 42upx;
    margin-left: 28upx;

    & > button {
      width: 100% !important;
      display: flex;
      align-items: center;
      flex-direction: column;
    }
  }
  .bottomBtn {
    // margin-right: 24upx;
    height: 70upx;
    line-height: 70upx;
    background: linear-gradient(270deg, #34a76c 0%, #30c075 100%);
    box-shadow: 0px 6upx 24upx 0px rgba(0, 78, 52, 0.12);
    border-radius: 35upx;
    margin-left: auto;
    color: #fff;
    width: 60%;
    text-align: center;
  }
}
.swiperBanner {
  width: 100%;
  height: 294upx;
  position: relative;
  .swiperBlock {
    width: 100%;
    height: 294upx;
  }
  .dots {
    position: absolute;
    bottom: 16rpx;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    span {
      width: 8rpx;
      height: 8rpx;
      border-radius: 50%;
      background: #fff;
      opacity: 0.5;
      margin: 0 5rpx;
      transition: all 0.3s;

      &.curr {
        opacity: 1;
        width: 20rpx;
        border-radius: 20rpx;
      }
    }
  }
}
.modelBanner {
  padding: 22upx 28upx 30upx;
  background: #fff;
  height: 450upx;
  box-shadow: 0px 2upx 8upx 0upx rgba(0, 0, 0, 0.04);
  border-radius: 16upx;

  swiper {
    height: 100%;
    swiper-item {
      // display: flex;
      // flex-wrap: wrap;
      // align-items: center;
      // // justify-content: center;
      // justify-content: space-between;
      overflow: hidden;

      .iconItem {
        float: left;

        width: 20%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-bottom: 24upx;
        .iconImg {
          width: 64upx;
          height: 64upx;
        }
        &:nth-child(1),
        &:nth-child(2),
        &:nth-child(3),
        &:nth-child(4),
        &:nth-child(5) {
          .iconImg {
            width: 80upx;
            height: 80upx;
          }
        }
      }
    }
  }
}
.banner-section {
  position: relative;
  height: 404upx;

  .swiper-item-container {
    height: 100%;
    box-sizing: border-box;
  }

  .swiper-item-wrapper {
    position: relative;
    width: 100%;
    height: 404upx;
    // border-radius: 8px;
    overflow: hidden;

    image {
      width: 100%;
      height: 100%;
    }
  }

  .banner-swiper {
    height: 404upx;
  }

  .banner-image {
    width: 100%;
    height: 100%;
  }

  .banner-content {
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    z-index: 2;

    .banner-title {
      font-size: 18px;
      font-weight: bold;
      color: #333;
      display: block;
    }
  }

  .custom-indicator {
    position: absolute;
    right: 30upx;
    bottom: 22upx;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none;
    padding: 0upx 20upx;

    background: rgba(255, 255, 255, 0.5);
    border-radius: 100rpx;

    .indicator-dot {
      width: 8px;
      height: 8upx;
      background: #fff;
      border-radius: 50%;
      margin: 0 8upx;
      opacity: 0.5;
      transition: all 0.2s;

      &.active {
        width: 24upx;
        height: 8upx;
        border-radius: 8upx;
        opacity: 1;
        background: #fff;
      }
    }
  }
}
.buyCover {
  width: 100%;
  height: 100vh;
  position: fixed;
  background: rgba(0, 0, 0, 0.4);
  left: 0;
  top: 0;
  z-index: 999;
}
.buyContent {
  width: 100%;
  // padding: 50upx 30upx;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 999;
  // background: #fff;
  border-radius: 16upx 16upx 0 0;
  background: #f7f7f7;
  overflow: hidden;

  .serveInput {
    width: 86upx;
    line-height: 40upx;
  }
}
.serveImg {
  width: 300upx;
  height: 160upx;
  padding: 6upx;
  border-radius: 8upx;
  border: 1px solid #dddddd;
}
